docs(openspec): 收敛可删除 Quote 与缓存 MVP - #74
Open
hifizz wants to merge 86 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目标
从 PR #49 的 Base
codex/feat-agent-observability-evaluation@2f3024747ddb72e1e69aa916cb45addb7140f6ab单独建立纯文档方案,不复用 #49 的实现。先把 Quote/Fork 的基础模型定对,再进入实现。核心决定
parts中可选、可删除的data-quote,不建 Quote 表。forkContext不依赖 Quote,删除 Quote 不修改它们。text、可选comment、最小 Message/Artifact 来源和TextAnchor;没有 Quote ID、创建入口类型、Project/Thread ID。text + comment,不看到来源 ID、Anchor 或 Schema 版本。replacesMessageId/supersededAt;V1 Quote 的只读字段与旧 Part 一一对应,旧{text}Quote 可原样保留/排序/删除。Quote Schema
详见
design.md。核心形状:后续收敛
docs/prompt-cache/roadmap.md将后续拆成固定生成模式、每轮 PDF 检索结果冻结、统一长上下文处理和逐步观测,避免再次形成一个混杂的大改造。“从 A11 直接点击分叉、完全不带 Quote”的具体 UI/API/数据库调整不在本 PR;当前模型只保证它未来不需要改变 Quote 领域合同。
范围
本 PR 只新增 6 份文档,不修改运行代码、数据库或现有 OpenSpec。
验证
OPENSPEC_TELEMETRY=0 npx --yes @fission-ai/openspec@1.5.0 validate --all --strict1 passed, 0 failed